package com.lovegu.basic;

/**
 * @author 老顾
 * @title: BreakTest
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/9/20 15:31
 */
public class BreakTest {
    public static void main(String[] args) {
        for(int i = 0; i<10; i++){
            if(i==3) {
                break;
            }
            System.out.println(" i =" + i);
        }
        System.out.println("Game Over!");
    }
}
